package com.example.feiyu.driveronline.domain;

/**
 * Created by feiyu on 17-3-31.
 */

public class RankingItem {
    private int rankNum;
    private String driverName;
    private int driverScore;

    public RankingItem(int rankNum, String driverName, int driverScore) {
        this.rankNum = rankNum;
        this.driverName = driverName;
        this.driverScore = driverScore;
    }

    public int getRankNum() {
        return rankNum;
    }

    public void setRankNum(int rankNum) {
        this.rankNum = rankNum;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName;
    }

    public int getDriverScore() {
        return driverScore;
    }

    public void setDriverScore(int driverScore) {
        this.driverScore = driverScore;
    }

    @Override
    public String toString() {
        return "RankingItem{" +
                "rankNum=" + rankNum +
                ", driverName='" + driverName + '\'' +
                ", driverScore=" + driverScore +
                '}';
    }
}
